package com.pphh.demo;

import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;

/**
 * Created by huangyinhuang on 2022/10/13.
 */
public class SimpleApp {

    public static void main(String[] args) {
        System.out.println("this is a simple app...");

        /**
         * 在加载simple-agent的情况下，会报如下异常，
         * java.lang.ClassNotFoundException: org.springframework.http.converter.GenericHttpMessageConverter
         */
        FastJsonHttpMessageConverter fastJsonMsgConverter = new FastJsonHttpMessageConverter();

        System.out.println("fastJsonMessageConverter has been created successfully.");
    }

}
